package com.ruoyi.flowable.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 流程表单业务对象 flow_form
 *
 * @author zxw
 * @date 2023-03-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class FormBo extends BaseEntity {

    /**
     * 表单ID
     */
    private Long formId;

    /**
     * 表单名称
     */
    @NotBlank(message = "表单名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String formName;

    /**
     * 备注
     */
    private String remark;


}
